import 'package:hc_ui/config/hc_customer_config.dart';
import 'package:hc_ui/theme/hc_common_theme.dart';

abstract class HcBaseTheme<T> {
  T merge(T? value);

  HcCommonTheme? _tempTheme;

  void initTheme({HcCommonTheme? tempTheme}) {
    _tempTheme = tempTheme;
  }

  HcCommonTheme get commonTheme =>
      _tempTheme ?? HcCustomerConfig().allTheme.commonTheme;
}
